﻿using QueuesLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace QueuesServer {
    [ServiceContract]
    interface IKioskService : IQueuesService {

        [OperationContract]
        [FaultContract(typeof(ArgumentException))] //subject desconhecido
        Ticket GetNewTicket(int subjectId);

        [OperationContract]
        [FaultContract(typeof(ArgumentException))] //subject desconhecido
        SubjectInfo GetSubjectInfo(int subjectId);
    }
}
